package j2eebusinesscomponent;

import j2eebusinesscomponent.J2eeBusinessComponentMatch;
import j2eebusinesscomponent.J2eeBusinessComponentMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate J2eeBusinessComponentMatcher in a type-safe way.
 * 
 * @see J2eeBusinessComponentMatcher
 * @see J2eeBusinessComponentMatch
 * 
 */
public class J2eeBusinessComponentMatcherFactory extends BaseGeneratedMatcherFactory<J2eeBusinessComponentMatch,J2eeBusinessComponentMatcher> {
  @Override
  protected J2eeBusinessComponentMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new J2eeBusinessComponentMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "J2eeBusinessComponent";
    
  }
}
